package zp_push

import "context"
import "github.com/gogf/gf/v2/encoding/gjson"
import "github.com/gogf/gf/v2/frame/g"/*
s.Group("/", func(group *ghttp.RouterGroup) {
	group.Group("/", func(group *ghttp.RouterGroup) {
		group.Bind(controller.ZpPushController)
	})
})
*/
var ZpPushController = cZpPushController{}
type cZpPushController struct{}
type MemberPushTransmissionReq struct {
	g.Meta `path:"zp_push/memberPushTransmission" method:"POST" summary:""`
	Any string `json:"any" dc:"zp_push/memberPushTransmission"`
	Text string `json:"text" dc:"请问贵公司的营业员还有空缺吗?"`
	MemberId string `json:"member_id" dc:"15347"`
	Name string `json:"name" dc:"李明"`
	Type string `json:"type" dc:"text"`
}
type MemberPushTransmissionRes struct {
}

func (a *cZpPushController) MemberPushTransmissionAction(ctx context.Context, req *MemberPushTransmissionReq) (res *MemberPushTransmissionRes, err error) {
	res = &MemberPushTransmissionRes{}
	data:=``
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type MemberPushReq struct {
	g.Meta `path:"zp_push/memberPush" method:"POST" summary:""`
	MemberId string `json:"member_id" dc:"15347"`
	Name string `json:"name" dc:"李明"`
	Any string `json:"any" dc:"zp_push/memberPush"`
	Type string `json:"type" dc:"text"`
	Text string `json:"text" dc:"请问贵公司的营业员还有空缺吗?"`
}
type MemberPushRes struct {
}

func (a *cZpPushController) MemberPushAction(ctx context.Context, req *MemberPushReq) (res *MemberPushRes, err error) {
	res = &MemberPushRes{}
	data:=``
	js:=gjson.New(data)
	js.Scan(&res)
	return
}